package com.liugege.make.factory.factorymethod.pizzastore.pizza;

public abstract class OrderPizza {

    abstract  Pizza createPizza(String orderType);

    public  OrderPizza(){
        String orderType = "cheese";
        Pizza pizza = createPizza(orderType);
        pizza.prepare();
        pizza.bake();
        pizza.cut();
        pizza.box();
    }


}
